package com.ytc.service;

import com.ytc.dto.CarDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface CarServiceApi {

    @RequestMapping("queryCarList1")
    @ResponseBody
    Map<String,Object> queryCarList(@RequestBody CarDto carDto);

    @RequestMapping("getBrandnameList1")
    @ResponseBody
    Map<String, Object> getBrandnameList();

    @RequestMapping("togetType1")
    @ResponseBody
    Map<String, Object> getTypeList(@RequestParam("bandid") Integer bandid);

    @RequestMapping("getType11")
    @ResponseBody
    Map<String, Object> toType(Integer typeid);
/*    @RequestMapping("getCarNameList1")
    @ResponseBody
    Map<String, Object> getCarNameList();*/
}
